package com.ws.system.role.service;

import com.ws.system.role.entity.SystemRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-11
 */
public interface ISystemRoleService extends IService<SystemRole> {

    Page<SystemRole> list(SystemRole systemRole, Integer current, Integer size);

    Set<String> getRolesByUserId(String id);

    List<SystemRole> listByUserId(SystemRole systemRole);
}
